package hospital.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.InputStreamReader;

/**
 * @author
 * @description:
 * @create 2022/9/30-15:21
 */
@SpringBootApplication
@ComponentScan(basePackages = "hospital")
@EnableDiscoveryClient //给Nacos注册中心，注册
@EnableFeignClients(basePackages = "hospital")     //让微服务之间的调用变得更简单
public class ServiceOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOrderApplication.class, args);
    }
}